<?php /* Smarty version 2.6.18, created on 2016-12-02 14:42:17
         compiled from teaching/m.plan.list.tpl.php */ ?>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link href="mstatic/css/bootstrap.min.css"  type="text/css" rel="stylesheet">
	<link href="mstatic/css/jquery-ui.css"  type="text/css" rel="stylesheet">
	<link href="mstatic/css/index.css" type="text/css" rel="stylesheet">
	<title>班主任交流经验</title>
</head>

<body>
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
	<div class="container-fluid">
		<div class="navbar-header" style=" width:100%;"> <a class="navbar-brand" href="javascript:history.go(-1);" style=" width:100%;  padding-right:0px;"> <span class="glyphicon glyphicon-arrow-left white"></span>
				<!--    <span class="glyphicon glyphicon-pause white" style="margin-left:2%;"></span>-->
				<span class="white" style="margin-left:10%"><?php echo $this->_tpl_vars['manage_name']; ?>
</span> <span class="glyphicon glyphicon-user white" style="float:right"></span> </a> </div>
	</div>
	<!-- /.container-fluid -->
</nav>
<!--头部 end-->
<!--主体部分-->

<div class="container" style="margin-top:70px;">
	<div class="row" style="margin-right:10%;">
		<div  class="col-xs-sm  text-right" > <a class="btn btn-primary" href="index.php?a=teaching.planadd&manage_type=<?php echo $this->_tpl_vars['manage_type']; ?>
" style="width:30%">增加</a></div>
	</div>
	<!--row  end-->

	<div class="row" style="margin-top:10px;">
		<form action="" method="post">
			<div class="col-sm-12 distance" >
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">年级:</label>
					<div class="col-sm-10">
						<select class="form-control" name="grade_id" >
							<option value="">全部</option>
							<?php $_from = $this->_tpl_vars['grade_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
							<option value="<?php echo $this->_tpl_vars['value']['grade_id']; ?>
"<?php if ($this->_tpl_vars['value']['grade_id'] == $this->_tpl_vars['grade_id']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['value']['grade_name']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>
						</select>
					</div>
				</div>
			</div>
			<div class="col-sm-12 distance" >
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">学科:</label>
					<div class="col-sm-10">
						<select class="form-control" name="subject_id">
							<option value="">全部</option>
							<?php $_from = $this->_tpl_vars['subject_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
							<option value="<?php echo $this->_tpl_vars['value']['subject_id']; ?>
"<?php if ($this->_tpl_vars['value']['subject_id'] == $this->_tpl_vars['subject_id']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['value']['subject_name']; ?>
</option>
							<?php endforeach; endif; unset($_from); ?>
						</select>
					</div>
				</div>
			</div>
			<div class="col-sm-12 distance hierarchy" >
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">开始日期:</label>
					<div class="col-sm-10">
						<input type="text" class="form-control"  id="datepicker" name="from" value="<?php echo $this->_tpl_vars['from']; ?>
">

					</div>
				</div>
			</div>
			<div class="col-sm-12 distance hierarchy2" >
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">结束日期:</label>
					<div class="col-sm-10">
						<input type="text" class="form-control"  id="datepicker2" name="to" value="<?php echo $this->_tpl_vars['to']; ?>
">

					</div>
				</div>
			</div>
			<div class="col-xs-12  distance hierarchy2">
				<div class="form-group text-center" style="padding-top:0px;">
					<input type="hidden" name="manage_type" value="<?php echo $this->_tpl_vars['manage_type']; ?>
">
					<input type="hidden" name="a" value="teaching.planlist">
					<button type="submit" class="btn btn-success" style="width:80%">搜索</button>
				</div>
			</div>
		</form>
	</div>
	<div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
		<?php $_from = $this->_tpl_vars['manage_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
		<table class="table table-striped table-bordered"  id="middles">
			<tr>
				<td>年级</td>
				<td><?php echo $this->_tpl_vars['value']['grade_name']; ?>
</td>
			</tr>
			<tr>
				<td>学科</td>
				<td><?php echo $this->_tpl_vars['value']['subject_name']; ?>
</td>
			</tr>
			<tr>
				<td>标题</td>
				<td><a href="index.php?a=teaching.details&manage_id=<?php echo $this->_tpl_vars['value']['manage_id']; ?>
&manage_type=<?php echo $this->_tpl_vars['manage_type']; ?>
" ><?php echo $this->_tpl_vars['value']['manage_title']; ?>
</a></td>
			</tr>
			<tr>
				<td>提交者</td>
				<td><?php echo $this->_tpl_vars['value']['user_name']; ?>
</td>
			</tr>
			<tr>
				<td>提交日期</td>
				<td><?php echo $this->_tpl_vars['value']['create_time']; ?>
</td>
			</tr>
			<tr>
				<td>操作</td>
				<td ><a type="button" class="btn btn-warning  " href="index.php?a=teaching.details&manage_id=<?php echo $this->_tpl_vars['value']['manage_id']; ?>
&manage_type=<?php echo $this->_tpl_vars['manage_type']; ?>
" >查看</a>
					<a type="button" class="btn btn-danger  " href="index.php?a=teaching.planupdate&manage_type=<?php echo $this->_tpl_vars['manage_type']; ?>
&manage_id=<?php echo $this->_tpl_vars['value']['manage_id']; ?>
" >修改</a></td>
			</tr>
		</table>
		<?php endforeach; endif; unset($_from); ?>
	</div>
</div>
<!--container  end-->

<!--主体部分  end-->
<!--底部-->

<div class="container" style="margin-top:25%;">
	<div class="row">
		<div class="footer navbar-fixed-bottom">
			<div class="col-xs-12" style=" height:15%"></div>
			<div class="col-md-4  col-xs-4 text-center" >
				<p class="glyphicon glyphicon-home white footer_font"></p>
				<p><a href="" class="white  footer_font2">首页</a></p>
			</div>
			<div class="col-md-4 col-xs-4 text-center white  ">
				<p class="glyphicon glyphicon-comment white  footer_font"></p>
				<p><a href=""  class="white  footer_font2">消息</a></p>
			</div>
			<div class="col-md-4 col-xs-4 text-center white" >
				<p class="glyphicon glyphicon-asterisk white footer_font"></p>
				<p ><a href=""  class="white  footer_font2">设置</a></p>
			</div>
		</div>
		<!--footer  end-->

	</div>
	<!--row  end-->

</div>
<!--container  end-->

<!--底部end-->
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->

<!--日历-->
<script>
	$(function() {
		$( "#datepicker" ).datepicker({

			changeMonth: true,
			changeYear: true

		});

		$( "#datepicker2" ).datepicker({

			changeMonth: true,
			changeYear: true

		});
	});
</script>
</body>
</html>